#!/bin/bash

DIR="$(cd "$(dirname "$0")" && pwd)"

if [[ "$(uname -s)" == "Darwin" ]]; then
	brew install --cask --no-quarantine "$DIR"/kitty.rb
fi

if [[ "$(uname -s)" == "Linux" ]]; then
	if type dnf &>/dev/null; then
		sudo dnf install -y kitty
	fi
	if type apt &>/dev/null; then
		sudo apt install -y kitty
		# sudo dnf copr enable atim/starship -y && sudo dnf install starship -y
	fi
fi
# git clone --depth=1 https://e.coding.net/G-XFGE2691/brew/kitty ~/.config/kitty
# brew install --cask $DIR/font-meslo-lg-nerd-font.rb &
# bash -c "$DIR"/install_config2.sh
